package com.jike.shop.cloud.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;


/**
 * @author Observer
 */
@Data
public class Account extends BaseEntity {

    private String username;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private transient String password;

    private String name;

    private String avatar;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String mobile;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String email;
}